package com.lhd._05mvcboot03.mapper;

import com.lhd._05mvcboot03.pojo.entity.Article;
import com.lhd._05mvcboot03.pojo.vo.ArticleVO;
import com.lhd._05mvcboot03.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

/**
 * @author lhd
 * @date 2024/4/26
 * @apiNote
 */
public interface UserArticleMapper {
    UserVO selectUserByUsernameAndPassword(@Param("username") String username, @Param("password")String password);

    int insertArticle(Article article);

    ArticleVO selectByArticleId(Long id);
}
